﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConditionalPlaceHolder.aspx.cs" Inherits="OpenWaves.Web.Showcase.ConditionalPlaceHolder" %>

<!DOCTYPE html>

<html>
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form runat="server">
            <div>
                <ow:ConditionalPlaceHolder runat="server" Condition="<%#true%>">
                    <ThenContent>
                        This should be rendered
                    </ThenContent>
                    <ElseContent>
                        This should NOT be rendered
                    </ElseContent>
                </ow:ConditionalPlaceHolder>
            </div>

            <div>
                <ow:ConditionalPlaceHolder runat="server" Condition="<%#false%>">
                    <ThenContent>
                        This should NOT be rendered
                    </ThenContent>
                    <ElseContent>
                        This should be rendered
                    </ElseContent>
                </ow:ConditionalPlaceHolder>
            </div>
        </form>
    </body>
</html>